/**
 * title: 我的周报
 * Routes:
 *   - ./src/routes/PrivateRouter.js
 * authority: ["admin","user"]
 */
import React, { Component } from 'react'
import Link from 'umi/link';
import { Button } from 'antd';
import { Content, Tool } from '@/components/Layout';
import List from './components/List';

class index extends Component {
    render() {
        return (
            <Content className="reports-wrapper">
                <Tool>
                    <Button type="primary">
                        <Link to="/reports/write">写周报</Link>
                    </Button>
                    <List />
                </Tool>
            </Content>
        )
    }
}
export default index;